package com.okchan.service;

import com.okchan.domain.Book;

import java.util.List;

/**
 * @author Ok chan
 */
public interface BookService {

    //根据Bookid查询图书
    Book selectBookById(String bookId);

    //查询所有图书
    List<Book> booAll();

    //添加图书
    Book createBook(final Book book);

    //删除图书
    Book deleteBookId(final Book bookId);

     //更新图书
    Book updateBook(Book bookName);

}
